package com.shangqing.system.hightemperature.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


public class City {
    /**
     * ID
     */
    @ApiModelProperty(value = "ID")
    private int id;
    /**
     * 父ID
     */
    @ApiModelProperty(value = "父ID")
    private int parentId;
    /**
     * 城市名
     */
    @ApiModelProperty(value = "城市名")
    private String cityName;
    /**
     * 子城市列表
     */
    @ApiModelProperty(value = "子城市列表")
    private City cityList;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public City getCityList() {
        return cityList;
    }

    public void setCityList(City cityList) {
        this.cityList = cityList;
    }

    public City(int id, int parentId, String cityName, City cityList) {
        this.id = id;
        this.parentId = parentId;
        this.cityName = cityName;
        this.cityList = cityList;
    }
}
